import YchConstant from "@/api/YchConstant"; //接口模块配置项
import { axios } from "@/utils/request"; //请求
const url_1 = "outside"
const responseType = "blob"
// --------------------------审评员推荐信息-----------------------------
// 获取基本信息数据
export const queryPageList = function (params) {
  return axios({
    url: YchConstant.SPZX_SPCY + "/spcyRsHcytjjl/queryPageList",
    method: "GET",
    params,
    url_1
  });
};

// 审评员 添加

export const addHcyTj = function (data) {
  return axios({
    url: YchConstant.SPZX_SPCY + "/spcyRsHcytjjl/addHcyTj",
    method: "post",
    data,
    url_1
  });
};


// 审评员 根据id批量删除
export const spcyRsHcytjjlDeleteBatch = function (id) {
  return axios({
    url: YchConstant.SPZX_SPCY + "/spcyRsHcytjjl/deleteBatch",
    method: "delete",
    params:{ids:id},
    url_1
  });
}
// 审评员 根据id编辑信息
export const spcyRsHcytjjlEdit = function (data) {
  return axios({
    url: YchConstant.SPZX_SPCY + "/spcyRsHcytjjl/editHcyTj",
    method: "put",
    data,
    url_1
  });
}


// 审评员 根据id查询数据
export const spcyRsHcytjjQueryById = function(params) {
  return axios({
    url: YchConstant.SPZX_SPCY + "/spcyRsHcytjjl/queryById",
    method: "get",
    params:params,
    url_1,
  });
}

// 添加工作经历
export const addHcyGzjl = function (data) {
  return axios({
    url: YchConstant.SPZX_SPCY + "/spcyRsHcytjjl/addHcyGzjl",
    method: "post",
    data,
    url_1
  });
};
// 编辑工作经历
export const editHcyGzjl = function (data) {
  return axios({
    url: YchConstant.SPZX_SPCY + "/spcyRsHcytjjl/editHcyGzjl",
    method: "put",
    data,
    url_1
  });
};

//删除工作简历
export const deleteGzjl = function(params) {
  return axios({
    url: YchConstant.SPZX_SPCY + "/spcyRsHcytjjl/deleteGzjl",
    method: "delete",
    params:params,
    url_1,
  });
}
